package com.beeantec.jnrerc.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.beeantec.jnrerc.dto.response.AdminExamRecRespDTO;
import com.beeantec.jnrerc.dto.response.AdminStudyRecRespDTO;
import com.beeantec.jnrerc.entity.CourseMemberStudyLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author anthony
 * @since 2021-12-16
 */
@Mapper
public interface CourseMemberStudyLogMapper extends BaseMapper<CourseMemberStudyLog> {
    /**
     * 考试分页
     * @param page
     * @param memberId
     * @return
     */
    IPage<AdminStudyRecRespDTO> admin_paging(Page page, @Param("query") Integer memberId);
}
